home *** CD-ROM | disk | FTP | other *** search
/ Aminet 4 / Aminet 4 - November 1994.iso / aminet / comm / net / anos_2_9i.lha / AmigaNOS / TCPIP / Spool / Help / Main.Ps (.png) < prev    next >
ANSI Art File  |  1992-11-04  |  2KB  |  640x656  |  4-bit (3 colors)
Labels: text | screenshot | font
OCR: Help File ps Display all current processes in the system. The fields are as follows : PID - Process ID (the address of the process descriptor). SP - The current value of the process stack pointer. stksize - The size of the stack allocated to the process. maxstk - The apparent peak stack utilization of this process. This is done in a somewhat heuristic fashion, so the numbers should be treated as approximate. If this number reaches or exceeds the stksize figure, the system is almost certain to crash; the AmigaNOS program should be recompiled to give the process a larger allocation when it is started. event - The event this task is waiting for, if it is not runnable. fl - Process status flags. There are three: I (Interrupts enabled), W (Waiting for event) and S (Suspended) . The I flag is set whenever a task has executed a pwait() call (wait for event) without first disabling hardware interrupts. Only tasks that wait for hardware interrupt events will turn off this flag; this is done to avoid critical sections and missed interrupts. The W flag indicates that the process is waiting for an event; the event column will be non-blank. Note that although there may be several runnable processes at any time (shown in the ps listing as those without the W flag and with blank event fields) only one process is actually running at any one instant (The Refrigerator Light Effect says that the ps command is always the one running when this display is generated. )